package com.yunfeisoft.base.service.inter;

import com.yunfeisoft.base.model.WorkflowTask;
import com.yunfeisoft.common.base.BaseService;
import com.yunfeisoft.common.utils.Page;

import java.util.Map;

/**
 * ClassName: WorkflowTaskService
 * Description: 流程实例执行service接口
 * Author: Jackie liu
 * Date: 2020-01-03
 */
public interface WorkflowTaskService extends BaseService<WorkflowTask, String> {

    public Page<WorkflowTask> queryPage(Map<String, Object> params);

    public int modifyAndExecuteTask(String taskId, int status, String remark, String executor);

    public int modifyAndSubmitProcess(String instanceId, String executor);
}